// JavaScript Document
var map = new GMap2(document.getElementById("map"));
	 
      map.setCenter(new GLatLng(53.307632,-6.221766), 15);
      //map.addMapType(G_SATELLITE_3D_MAP);
      map.addControl(new GHierarchicalMapTypeControl());
      map.addControl(new GLargeMapControl());
     
  var infoTabs = [
    new GInfoWindowTab("CSI", '<img src="http://energy32.ucd.ie/images/ucdmap.jpg" width="550" height="350"><br>'+'<a     href="http://energy32.ucd.ie/live_data_ucd.shtml">UCD Energy management Unit--->Computer Science and Informatics Centre @ 18(C5)</a>'),
            new GInfoWindowTab("Daily Profiles", '<img src="http://energy32.ucd.ie/assets/Belfield/UCD%20Computer%20Science%20and%20Informatics%20Centre/Electricity/ComputScience_elec15.gif" width="550" height="350"><br>'),
            new GInfoWindowTab("Monthly Profile", '<img src="http://energy32.ucd.ie/assets/Belfield/UCD%20Computer%20Science%20and%20Informatics%20Centre/Electricity/ComputScience_elecmonth.gif" width="550" height="350"><br>')
        ];
        var csi = new GMarker(map.getCenter());
        GEvent.addListener(csi, "click", function() {
       csi.openInfoWindowTabsHtml(infoTabs);
        });
      map.addOverlay(csi);